﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Faker {
    public static class StringExtensions {
        public static string Capitalize(this string str) {
            if (string.IsNullOrEmpty(str)) {
                return string.Empty;
            }
            
            return char.ToUpper(str[0]) + str.Substring(1).ToLower();
        }
    }
}
